import request from '@/utils/request'
export function findDept(pId){
  return request({
    url: 'dept/lists/'+pId,
    method: 'get'
  })
}

export function findTreeLists(data){
  return request({
    url: 'dept/findTreeLists',
    method: 'post',
    data
  })
}

export function save(data){
  return request({
    url: 'dept/save',
    method: 'post',
    data
  })
}
